package com.wx.tnsenterprise.service;

import com.github.pagehelper.PageInfo;
import com.wx.tnsenterprise.model.dto.FunnelEntDto;
import com.wx.tnsenterprise.model.dto.PageDto;
import com.wx.tnsenterprise.model.po.EnterprisePo;
import com.wx.tnsenterprise.model.vo.EntDetailVo;
import com.wx.tnsenterprise.model.vo.EntHotVo;
import com.wx.tnsenterprise.model.vo.EntNavVo;

import java.util.List;
import java.util.Map;

/**
 * @author 林建权
 * @version 1.0
 * @date 2020/7/28 17:36
 */
public interface EnterpriseService {
    List<EnterprisePo> findAll();

    int insert(EnterprisePo enterprisePo);

    int update(EnterprisePo enterprisePo);

    int delete(Integer id);

    List<EntHotVo> findHotEnt(Integer length);

    PageInfo<EntNavVo> findEntByFunnel(FunnelEntDto funnelEntDto);

    List<String> findRecHotEnt(Integer length);

    EntDetailVo entDetail(Integer id);

    PageInfo<EnterprisePo> findAllPageInfo(PageDto pageDto);

    EnterprisePo findById(Integer id);

    int deleteList(String list);
}
